package com.quanquan.user.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 功能描述:签到功能
 *
 * @ClassName: SignIn
 * @Author: xiaoqianh丶
 * @Date: 2019-04-05 18:44
 * @Version: V1.0
 */
@Data
@Entity
@Table(name = "oo_sign_in")
public class SignIn implements Serializable {

    /**
     * 主键
     */
    @Id
    @Column(name = "id", unique = true, length = 64)
    private String id;

    /**
     * 用户id
     **/
    private String userId;


    /**
     * 是否过期 0 未过期 1过期
     **/
    private Integer overdue ;


    /**
     * 创建时间
     */
    @Column(name = "create_time", nullable = false, length = 32)
    private String createTime;

    /**
     * 数据是否移除
     */
    @Column(name = "status_remove", columnDefinition = "TINYINT default 0")
    private Integer remove;
}
